function corr()
clear all; clc; close all;
A=[0.1,0.2,0.3];
B=[0.1,0.2,0.3];
C=[0.2,0.3,0.4];


C1=xcorr(A,B,'coeff');

R1=max(C1)
C2=xcorr(A,C,'coeff');
R2=max(C2)

end
